package com.yami.shop.sys.model;

import lombok.Data;
import org.beetl.sql.core.annotatoin.AssignID;
import org.beetl.sql.core.annotatoin.Table;

import javax.validation.constraints.NotBlank;

/**
 * @Author: Administrator
 * @Date: 2020/10/18 16:42
 */
@Data
@Table(name = "tz_sys_stock")
public class SysStock {
    @AssignID
    String id;

    @NotBlank(message = "仓库名不能为空")
    String name;

    String address;

    String info;

    int sort;
}
